Don't compile lib/copy-file-range.c on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Wed, 7 Feb 2024 13:33:51 +0000 (15:33 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 7 Feb 2024 13:33:51 +0000 (15:33 +0200)
commitd03f3a827d80e2a0962128216223bab21998cf0a
tree7c0ab893c17822a8a4870e50c0cd6d11d7e0136b
parente5cb268b2cf612492dfaf39d28f43357710003a6
Don't compile lib/copy-file-range.c on MS-Windows

* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_copy-file-range): Set to
true to avoid compiling copy-file-range.c on MS-Windows.  The
function 'copy_file_range' is not used on MS-Windows, while
compiling the file triggers warnings because lib/unistd.h, where
its prototype is declared, is omitted in the MS-Windows build.
nt/gnulib-cfg.mk